package com.llxy.worker.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.llxy.common.core.domain.BaseEntity;
import com.llxy.common.core.domain.entity.SysDept;
import com.llxy.worker.domain.School;

import java.util.Date;

/**
 * @program: llxy
 * @description: 培训信息返回类
 * @author: 马瑞龙
 * @create: 2024-02-27 18:43
 **/
public class TrainDTO {
    private Integer id;

    /**
     * 培训学校id
     */
    private Integer schoolId;

    private Integer supportId;

    private String supportName;

    private String deptName;

    private String file;


    private String schoolName;

    /**
     * 培训学校信息
     */
    private School school;

    /**
     * 培训专业
     */
    private String specialityId;

    /**
     * 培训专业名称
     */
    private String specialityName;

    /**
     * 培训学期
     */
    private Integer specialityDay;

    /**
     * 所在班级
     */
    private Long deptId;

    /**
     * 所在班级信息
     */
    private SysDept sysDept;

    /**
     * 结业证号
     */
    private String cardNumber;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public TrainDTO() {
    }

    public TrainDTO(Integer id, Integer schoolId, Integer supportId, String supportName, String deptName, String file, String schoolName, School school, String specialityId, String specialityName, Integer specialityDay, Long deptId, SysDept sysDept, String cardNumber, Date createTime) {
        this.id = id;
        this.schoolId = schoolId;
        this.supportId = supportId;
        this.supportName = supportName;
        this.deptName = deptName;
        this.file = file;
        this.schoolName = schoolName;
        this.school = school;
        this.specialityId = specialityId;
        this.specialityName = specialityName;
        this.specialityDay = specialityDay;
        this.deptId = deptId;
        this.sysDept = sysDept;
        this.cardNumber = cardNumber;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    public String getSpecialityId() {
        return specialityId;
    }

    public void setSpecialityId(String specialityId) {
        this.specialityId = specialityId;
    }

    public String getSpecialityName() {
        return specialityName;
    }

    public void setSpecialityName(String specialityName) {
        this.specialityName = specialityName;
    }

    public Integer getSpecialityDay() {
        return specialityDay;
    }

    public void setSpecialityDay(Integer specialityDay) {
        this.specialityDay = specialityDay;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Integer getSupportId() {
        return supportId;
    }

    public void setSupportId(Integer supportId) {
        this.supportId = supportId;
    }

    public String getSupportName() {
        return supportName;
    }

    public void setSupportName(String supportName) {
        this.supportName = supportName;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
